<template>
    <div>
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in lunboList" :key="item.src">
                <img :src="item.src" :class="{'full-width': is_full, 'auto-width': !is_full}">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<style lang="scss" scoped>
    .mint-swipe {
        height: 200px;
        text-align: center;
        img{
            height: 100%;
        }
        .full-width{
            width: 100%;
        }
        .auto-width{
            width: auto;
        }
    }
</style>
<script>
    export default {
        props: ['lunboList', 'is_full']
    }
</script>
